﻿<View:CharmControl
    x:Class="SimpleWeather.Views.Configuration"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:SimpleWeather.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:View="using:StyleMVVM.View"
    View:ViewModel.Name="ConfigurationViewModel"
    mc:Ignorable="d"
    d:DesignHeight="600"
    d:DesignWidth="400" ContentBackground="DarkGray"
    HeaderContent="Configuration">
    <Grid >
        <ToggleSwitch Header="Show Local Weather" HorizontalAlignment="Left" Margin="10,10,0,0" 
                      IsOn="{Binding IsLocalEnabled,Mode=TwoWay}" VerticalAlignment="Top"/>
        <ToggleSwitch Header="Show Boston Weather" HorizontalAlignment="Left" Margin="10,102,0,0"
                      IsOn="{Binding IsBostonEnabled,Mode=TwoWay}"
                      VerticalAlignment="Top"/>

    </Grid>
</View:CharmControl>
